ExamPlay Light Logo
Sign In

Computer Science for IGCSE & O level - Programming (Section 13 - No. 2)

What does the `import java.io.File` statement do in Java?
Imports the file class
Opens a file
Creates a new file
Writes to a file

Explanation

The import statement makes the 'File' class available for use in the program

Comments (0)

Login To Comment
Advertisement
BrainBehindX Inc Logo
©2026; Powered By BrainBehindX Inc